﻿using System;
using System.Data;
using System.Linq;
using System.Windows;
using WPFExcelReport.Chart;
using System.Windows.Controls;
using WPFExcelReport.Helpers;
using System.ComponentModel;
using ReflectionStudio.Core.Events;
namespace WPFExcelReport
{
    /// <summary>
    /// Interaction logic for EditEventWindow.xaml
    /// </summary>
    public partial class TVKPVV
    {
        public TVKPVV()
        {
            if (DesignerProperties.GetIsInDesignMode(this))
                return;
            MV = new VVKPOS();
            this.DataContext = MV;  
            InitializeComponent(); 
        }
        public override void VKKLOAD(DataRow _dwVKK)
        {
            if (KRS.Length < 1)
                return;
            dwData = TBMain.NewRow();
            dwData["VKPMANDANT"] = app.Mandant;
            dwData["VKPAUFKRS"] = KRS;
            dwData["VKPAUFLFD"] = LFD;
            SResult = TMV.QVKP02(dwData);
            MergeData(SResult, false);
            KEY = "";
            AUF = "";
        }  
    } 
}
